package com.esri.core.portal;

import java.util.List;

/* loaded from: classes.dex */
public class PortalUserContent {
    List<PortalItem> a;
    List<PortalFolder> b;

    public PortalUserContent(List<PortalItem> list, List<PortalFolder> list2) {
        this.a = list;
        this.b = list2;
    }

    public List<PortalItem> getItems() {
        return this.a;
    }

    public List<PortalFolder> getFolders() {
        return this.b;
    }

    public int hashCode() {
        List<PortalFolder> list = this.b;
        int hashCode = ((list == null ? 0 : list.hashCode()) + 31) * 31;
        List<PortalItem> list2 = this.a;
        return hashCode + (list2 != null ? list2.hashCode() : 0);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj != null && (obj instanceof PortalUserContent)) {
            PortalUserContent portalUserContent = (PortalUserContent) obj;
            List<PortalFolder> list = this.b;
            if (list == null) {
                if (portalUserContent.b != null) {
                    return false;
                }
            } else if (!list.equals(portalUserContent.b)) {
                return false;
            }
            List<PortalItem> list2 = this.a;
            if (list2 == null) {
                if (portalUserContent.a != null) {
                    return false;
                }
            } else if (!list2.equals(portalUserContent.a)) {
                return false;
            }
            return true;
        }
        return false;
    }

    public String toString() {
        return "PortalUserContent [items=" + this.a + ", folders=" + this.b + "]";
    }
}
